<?php
require_once '../controller.php';
$g = new Group($params->g);
if($params->feed == 'svn') {
	$count = $g->parseSVN();
	die("<p>$count feeds updated.</p>");
} else if($params->feed == 'wiki') {
	$count = $g->parseWiki();
	die("<p>$count feeds updated.</p>");
} else {
?>
<h2>Updating <b><?php print $g->name; ?></b>...</h2>
<div id='feeds'></div>
<?php } ?>